home *** CD-ROM | disk | FTP | other *** search
/ CD Actual Thematic 7: Programming / CDAT7.iso / demos / VisualAge for Java 2.0 Entry / setup / data1.cab / ide-e / IDE / cache / 167ZVOV (.txt) < prev    next >
Encoding:
Java Class File  |  1998-09-16  |  832 b   |  22 lines

  1. package com.sun.java.swing.plaf;
  2.  
  3. import java.awt.Color;
  4.  
  5. public class ColorUIResource extends Color implements UIResource {
  6.    public ColorUIResource(float r, float g, float b) {
  7.       super(r, g, b);
  8.    }
  9.  
  10.    public ColorUIResource(int rgb) {
  11.       super(rgb);
  12.    }
  13.  
  14.    public ColorUIResource(int r, int g, int b) {
  15.       super(r, g, b);
  16.    }
  17.  
  18.    public ColorUIResource(Color c) {
  19.       super(c.getRed(), c.getGreen(), c.getBlue());
  20.    }
  21. }
  22.